package com.lemon.cloud.redis.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lemon
 * @version 1.0
 * @description: TODO
 * @date Create by lemon on 2019-08-17 19:58
 */
@Data
@ConfigurationProperties(prefix = RedisProperties.PREFIX, ignoreUnknownFields = false)
public class RedisProperties {
    public static final String PREFIX = "spring.redis.lemon";

    private long ttlMillis = 10000;
}
